package models

type MyJsonName struct {
	Code int         `json:"code"`
	Data Data        `json:"data"`
	Msg  interface{} `json:"msg"`
	Op   string      `json:"op"`
	URL  string      `json:"url"`
}

type LineBinaryOptionPriceIndex struct {
	Asset            string      `json:"asset"`
	CallGain         string      `json:"callGain"`
	CallPercent      interface{} `json:"callPercent"`
	CallPrice        string      `json:"callPrice"`
	GenerateTime     int         `json:"generateTime"`
	Income           interface{} `json:"income"`
	NetCallPrice     interface{} `json:"netCallPrice"`
	NetPutPrice      interface{} `json:"netPutPrice"`
	OptionPriceValid bool        `json:"optionPriceValid"`
	OrderAmount      interface{} `json:"orderAmount"`
	Price            string      `json:"price"`
	PutGain          string      `json:"putGain"`
	PutPercent       interface{} `json:"putPercent"`
	PutPrice         string      `json:"putPrice"`
	SpotIndexValid   bool        `json:"spotIndexValid"`
	Time             int         `json:"time"`
}

type Direction struct {
	Asset   string `json:"asset"`
	Bearish int    `json:"bearish"`
	Bullish int    `json:"bullish"`
}

type Data struct {
	Direction                  `json:"direction"`
	LineBinaryOptionPriceIndex LineBinaryOptionPriceIndex `json:"lineBinaryOptionPriceIndex"`
	SpotIndexState             bool                       `json:"spotIndexState"`
}
